class ShowIssueHookListener < Redmine::Hook::ViewListener
  def view_issues_edit_notes_bottom(issue = {})
    str = <<-JS
      <script>
        $("#main #content h2").after("<div id='vertical-layout'></div>")
        $("#vertical-layout").append($(".issue.details"), $("#history"))
        $(".issue.details").css({"float":"left", "width":"50%"})
        $("#history").css({"float":"left", "width":"46%", "margin-left":"36px"})
      </script>
    JS
    return str
  end
end

